package com.seven.bus.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author seven
 * @since 2021-01-12
 */
@TableName("bus_line")
public class BusLine implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer busInfoId;

    private Integer busStationId;

    private Integer sort;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusInfoId() {
        return busInfoId;
    }

    public void setBusInfoId(Integer busInfoId) {
        this.busInfoId = busInfoId;
    }

    public Integer getBusStationId() {
        return busStationId;
    }

    public void setBusStationId(Integer busStationId) {
        this.busStationId = busStationId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "BusLine{" +
        ", id=" + id +
        ", busInfoId=" + busInfoId +
        ", busStationId=" + busStationId +
        ", sort=" + sort +
        "}";
    }
}
